import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 666
 * Date: 2023-07-13
 * Time: 18:57
 */
public class test {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int[] arr = new int[150000];
        while (scanner.hasNext()){
                arr[scanner.nextInt()]++;
        }
        int a=arr.length/2;
        int b=0;
        for (int i = 0; i < arr.length; i++) {
            b=Math.max(a,arr[i]);
        }
        System.out.println(b);
        Test test1 = new Test();
        Test test2 = new Test();
        test1.test=test2;
        test2.test=test1;
    }

}
class Test {
 public Test test;
}
